import request from '@/utils/request'

/**
 * 
 * @param {} params 
 * @returns 
 */
export function userList (params) {
    return request({
        url: '/points/userPoints/userList',
        method: 'get',
        params: params
    })
}

export function recordList (params) {
    return request({
        url: '/points/userPoints/recordList',
        method: 'get',
        params: params
    })
}

/**
 * 
 * @param {*} params 
 * @returns 
 */
export function updatePoints (params) {
    return request({
        url: '/points/userPoints/update',
        method: 'post',
        data: params
    })
}
